package com.cy.sca.pojo;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
/**
 * <br>@class: Order
 * <br>@description: 订单
 * <br>@author: cy
 * <br>@date: 2020-04-17 21:29:47
 * <br>@version: 1.0
 * <br>
 * <br>@since: (版本) 作者 时间 注释
 */
@Data
@NoArgsConstructor
@Accessors(chain=true)//链式
public class Order implements Serializable {
    private int id;
    private String order_serial;
    private String order_amount;
    private String seller_id;
    private String buyer_id;
    private String create_time;
    private String status;
    private String db_source;

    public Order(String order_serial, String order_amount, String seller_id, String buyer_id, String status) {
        this.order_serial = order_serial;
        this.order_amount = order_amount;
        this.seller_id = seller_id;
        this.buyer_id = buyer_id;
        this.status = status;
    }
}
